package com.logic.comment.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Node{
    Long playerId;
    int rankNo;
    int a;
    int b;
    Set<Node> link;
    int cos;
    public String getKey(){
        return String.format("%d-%d", a, b);
    }
}
